book_1 = {
    'book_name': 'Python编程：从入门到实践',
    'author': '马瑟斯',
    'description': 'Python 入门读物'
}

# 获取字典中的某个值
print(f'这本书的作者叫：{book_1["author"]}')

print(f"本书描述：{book_1.get('description')}")

# 修改字典中的值
book_1['description'] = "hello"

# 添加新元素
book_1['type'] = '计算机'

# 删除键值对
del book_1['type']

for key, value in book_1.items():
    print(key + ': ' + value)